
<include file="./Tpl/default/Index/header.html"/>
<css file="__PUBLIC__/index/css/user.css"/>

<script>
    var url = "__URL__";
    $(function(){
        $('.select1').click(function(event){
            // $(this).hide();
            event.stopPropagation();
            $('.sort_check1').show();    
        })

        $(document).click(function(){
            $('.sort_check1').hide();
        })
                $('.img_save').click(function(){
                    $('.gedit').submit();
                })
             
        $('.middle').css({"minHeight":$(window).height()-60})
    })
</script>
<div class="middle">
    <div class="top">
        <p>编辑采集</p>
    </div>
    <div class="editleft">
        <form action="{:U('Complete/saveImg/id/'.$data['id'])}" method="post" class="gedit">
            <input type="hidden" name="sid" class="geitsid" value="{$data.sid}"/>
            <div class="box">
                <div class="tit">
                    <table>
                        <tr>
                            <td>描述</td>
                            <td class="int"><textarea style="width:400px;height:60px" name="mesa">{$data.mesa}</textarea></td>
                        </tr>
                    </table>
                </div>
            </div>

            <div class="box">
                <div class="tit">
                    <table>
                        <tr>
                            <td>画板</td>
                            <td class="int">
                                <div class="select1">
                                    <span class="sortid1" name="{$data.id}">{$data.name}</span>
                                    <span class="down1"></span>
                                </div>
                                <div class="sort_check1">
                                    <ul>
                                        <taglib name="blog"/>  
                                        <blog:sked limst="1">
                                            <li class="type" name="{$field.kid}">{$field.name}</li>
                                        </blog:sked>
                                    </ul>
                                    <div class='new_huaban'>
                                        <input type="text" placeholder="创建新画板" autocomplete="off" name ="new_huaban" class="create_new_huaban"/>
                                        <p class="new_btn">创建</p>
                                    </div>
                                </div>
                            </td>
                        </tr>
                    </table>
                </div>
            </div>
            <div class="box">
                <div class="tit">
                    <table>
                        <tr>
                            <td>删除</td>
                            <td class="int">
                                <div class="atten">
                                    <a href="javascript::" class="delhuab del_img"  name="{$data.id}">删除采集</a>
                                </div>
                            </td>
                        </tr>
                    </table>
                </div>
            </div>
            <div class=""><a href="javascript:;" class="btn1 huabtn img_save">保存设置</a></div>
        </form>
    </div>
    <div class="editright">
        <img src="{$data.adres}" width="190" />
    </div>
</div>
</body>
</html>
